package com.wjh.www.entity.po;

import com.wjh.www.annotation.mybatis.Column;
import com.wjh.www.annotation.mybatis.Table;

/**
 * @author wjh
 * @date 2021/9/10 16:50
 * @Package com.wjh.anyview.entity.po
 */
@Table("student_course")
public class StudentCourse {
    @Column(value = "id")
    private Long id;
    @Column(value = "student_id")
    private Long studentId;
    @Column(value = "course_id")
    private Long courseId;
    @Column(value = "status")
    private Integer status;

    public StudentCourse() {
    }

    public StudentCourse(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getStudentId() {
        return studentId;
    }

    public void setStudentId(Long studentId) {
        this.studentId = studentId;
    }

    public Long getCourseId() {
        return courseId;
    }

    public void setCourseId(Long courseId) {
        this.courseId = courseId;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    @Override
    public String toString() {
        return "StudentCourse{" +
                "id=" + id +
                ", studentId=" + studentId +
                ", courseId=" + courseId +
                ", status=" + status +
                '}';
    }
}
